package ru.spb.osll.myfit.client.service;

import java.util.TreeMap;

import ru.spb.osll.myfit.common.PageElement;
import ru.spb.osll.myfit.common.Table;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("createhelper")
public interface CreateHelperService extends RemoteService {
  public TreeMap<String, String> loadTemplates() throws Exception;

  public Table getTemplate(String name) throws Exception;

  public String convertWikiToHtml(String wikiText);

  public PageElement loadInclude(String pagePath, String includePath);

}
